﻿<?xml version="1.0" encoding="utf-8"?>
<log4net>
    <appender name="DebugAppender" type="log4net.Appender.DebugAppender">
        <immediateFlush value="true"/>
        <layout type="log4net.Layout.SimpleLayout"/>
    </appender>
    <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
        <file value="MWToolsLog.txt"/>
        <appendToFile value="true"/>
        <rollingStyle value="Size"/>
        <maxSizeRollBackups value="10"/>
        <maximumFileSize value="10000KB"/>
        <staticLogFileName value="true"/>
        <layout type="log4net.Layout.PatternLayout">
            <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline"/>
        </layout>
    </appender>
    <root>
        <level value="ALL"/>
        <appender-ref ref="DebugAppender"/>
        <appender-ref ref="RollingFileAppender"/>
    </root>
</log4net>
